package com.qifenqian.turbot.module.entity.response.restaurant

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @author H
 * @createDate 2018/12/25 16:10
 * @description 餐厅基本信息
 * @see /restaurant/getBasicInfo
 * @since
 */
@Parcelize
data class RestaurantEntity(
        var address: String,
        var area: String, // 福田区
        var city: String, // 深圳市
        var closeTime: String, // 21:59
        var consumePerPerson: Int, // 5500
        var createTime: String, // 2019-01-02 09:44:36
        var cuisine: String, // 湘菜,川菜
        var id: Int, // 100001
        var introduction: String, // Hello everyOne!Welcome!
        var onlineReservation: Int, // 0
        var openTime: String, // 10:00
        var photoList: List<Photo>,
        var province: String, // 广东省
        var restaurantPhone: String, // 0755-86881688
        var shortName: String // SevenPayShop
                           ) : Parcelable {

    @Parcelize
    data class Photo(
            var createTime: String, // 2019-01-03 14:14:19
            var id: Int, // 2
            var restaurantId: Int, // 100001
            var restaurantPhotoPath: String // url2
                    ) : Parcelable
}